"""
@author: 一切、會恏
@file: project_path.py
@time: 2019/3/13 15:02
"""
# 6：搞定全局变量（path变量，数据与文件分离）
import os
file_path = os.path.realpath(__file__)#获取当前文件的路径

#获取测试用例的绝对路径
project_path_case = os.path.split(os.path.split(os.path.split(file_path)[0])[0])[0]
case_path = os.path.join(project_path_case,"test_cases","API_test.xlsx")
#获取配置文件的绝对路径
project_path_con = os.path.split(os.path.split(file_path)[0])[0]
con_path = os.path.join(project_path_con,"con_file","interface.conf")

#获取测试报告的文件路径
report_path = os.path.join(project_path_case,r"test_result","test_report","interface.html")


#获取log日志的文件路径
log_path = os.path.join(project_path_case,r"test_result","test_log","test_log.txt")
# print(con_path)